FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e"
SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \
           file://0001-rename-grub2-editenv-to-grub-editenv.patch \
           file://0002-Add-another-variable-LIBS-to-provides-libraries-from.patch \
           file://0003-include-paths.h-for-_PATH_MOUNTED.patch \
           file://0004-rpm-sort-include-string.h-for-strverscmp.patch \
           file://run-ptest \
           "
EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
DEPENDS += " rpm"
